Chapter 4 • Configuring a Connection
                     Document

Contents of this Chapter

•   4.1 Creating a New Connection Document

•  4.2 Closing a Connection Document 
          without Saving Any Changes

•  4.3 Opening and Editing a Connection Document

Before connecting to a remote network (see Section 6.1, Using Connection Documents to Connect to Remote Networks ) ,  you must properly configure your network connections and create a connection document. 

              connection document   is an InterPPP file you create and configure
             for the particular modem and remote network you are planning on 
             connecting to. InterPPP uses this file to record your preferences and 
             information such as your IP address and modem type.

InterPPP provides default scripts for generic modem types. If you need to create or modify a CCL script, see Appendix B, CCL Scripts , for more information.

            A CCL script   is a file, stored in the Extensions folder, that is written
             in the Connection Control Language and contains information,
             such as  commands, necessary to connect your modem to the remote 
             network.

InterPPP uses connection documents to record the information it needs to connect to the desired remote network. After a connection document is created, configured, and saved, you can double-click the connection document icon to automatically launch InterPPP. InterPPP is then ready to connect using its previously configured parameters. 

Before you configure your connection document your network connections must be properly configured. See Chapter 3, Configuring Your Network Connections ,  for more information.

4.1 Creating a New 
      Connection Document

Before connecting to a remote network through InterPPP, you must first create a connection document that configures the PPP system driver for your modem.

To create a connection document:

1.  Launch InterPPP by double-clicking the InterPPP icon.

OR

        Select New Connection… from the File menu if InterPPP is already 
         running.

√  An untitled connection document is displayed (Figure 4.1).

Figure 4.1 An Untitled Connection Document

2.  Specify the authentication parameters for InterPPP by clicking either 
        No Authentication or Authenticated User.

   •
  Click No Authentication for InterPPP to allow any user to connect and 
        proceed to Step 6.

OR

   •
  Click Authenticated User for InterPPP to require authentication (using  
         either PAP or CHAP) before allowing a user to connect. Select this 
         only  if your server supports this feature.

             The type of authentication InterPPP uses, either PAP or CHAP, is 
              determined in the PPP Configuration dialog. See Section 5.2, PPP 
             Configuration ,  for more information.

            PAP (Password Authentication Protocol)   is a protocol that enables 
              your Macintosh to identify itself to a remote network. After an 
              initial link is established, your Macintosh sends the remote network
              an ID/Password pair in plain text. If the remote network accepts 
              the pair, the connection is made. If it does not accept it, the 
              connection is dropped.

             HAP (Challenge-Handshake Authentication Protocol)   is a 
               protocol that enables your Macintosh to identify itself to a remote 
               network. After an initial link is established, the remote network 
               sends a challenge that prompts your Macintosh to calculate a 
               response. If this response matches the response that the remote 
               network calculates, the connection is made. If they do not match, 
               the connection is dropped. CHAP is considered more secure than 
               PAP since no confidential information is passed in plain text.

√  If Authenticated User is selected, the Connection Document window     
       changes to include a Name and Password field and a Save my 
       password checkbox (Figure 4.2).

Figure 4.2 A Connection Document with Authenitcation Selected

3.  In the Name field, enter your user name for the server you are 
        connecting to.

4.  In the Password field, enter your user password for the server you are
        connecting to. Your password is masked by dots (••••).

5.  Check Save my password for your password to be saved as part of 
         this connection document.

6.  In the Phone field, enter the number that the modem is to dial to 
        connect to the remote network.

7.  Check the Remind me checkbox to be notified of an idle connection. 
        Enter the amount of time in the minutes field that InterPPP should 
        wait before displaying a reminder.

8.  Select Save from the File menu to save the connection document.

√  Apple’s standard Save dialog (Figure 4.3) is displayed.

Figure 4.3 Apple’s Standard Save Dialog

             ou can save your connection documents anywhere you like. Saving
              your  connection documents on your desktop or in your InterPPP 
              folder would be especially convenient. If you save your connection 
              document in your Startup Items folder, you can take advantage of 
              the Dial on Demand feature of InterPPP.

            ial on Demand   is an InterPPP feature that is active as soon as you 
             turn on your Macintosh. It configures PPP at boot time and starts a 
             connection when you try to access a network service. To implement 
             this feature, save a connection document to the Startup Items folder
             in your System Folder. Only one connection document can be 
             located in the Startup Items folder at a time.

9.  Name the connection document, select the location where it is to be
            saved, and click Save. (Or click Cancel to close the dialog without 
            saving the document.)

√  The name of the connection document is displayed at the top of the 
        window (Figure 4.4).

Figure 4.4 A Configured Connection Document

10.  Configure the modem settings for this connection document by 
            following the procedures in Section 5.1, Modem Configuration.

11.  Configure the PPP settings for this connection document by 
            following the procedures in Section 5.2, PPP Configuration.

12.  Configure the TCP/IP settings for this connection document by 
            following the procedures in Section 5.3, TCP/IP Configuration.

           Many of the configuration dialogs do not have Cancel buttons to 
             undo undesired changes. If you make changes to the settings of a 
             connection document that you want to undo, close the document 
             without saving the changes. When the document is re-opened, the 
             settings are unchanged. 

4.2 Closing a Connection Document
      without Saving Any Changes

To close a connection document without saving any changes:

1.  Click the close box in the upper left hand corner of the Connection 
        Document window.

√  Apple’s standard Close dialog (Figure 4.5) is displayed.

Figure 4.5 Apple’s Standard Close Dialog

2.  Click No in the Close dialog to indicate that no changes are to be 
         saved.

√  The connection document is closed and no changes are saved.

4.3 Opening and Editing 
      a Connection Document

To open and edit an existing connection document:

1. Select Open Connection… from the File menu.

√  Apple’s standard Open File dialog (Figure 4.6) is displayed.

Figure 4.6 Apple’s Standard Open File Dialog

2. Select a connection document and click Open. (Or click Cancel to close 
       the dialog without opening a connection document.)

√  The selected document opens (Figure 4.7).

Figure 4.7 An Example of an Open Connection Document

3. Follow the procedures in Section 4.1, Creating a New Connection 
      Document,  to edit specific parameters for the connection document.

4. Select Save from the File menu to save the changes you have made to
       this connection document. (Or click the close box to close the document
       without saving any changes.)